<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2022-02-15
  Time: 15:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script>
        function sayhi() {
            <%
               out.println("alert('你好，我是渣渣轩');");
            %>
        }
    </script>
</head>
<body>
  <button type="button" onclick="sayhi()">问候</button>
</body>
</html>
